package com.mywork.interfacetest;

/**
 * @ProjectName: testdemo
 * @ClassName: com.mywork.interfacetest
 * @Author: lsx
 * @Date: 2023/04/06 09:43
 **/
public class TestDemo {
    public static void main(String[] args) {
        TestClass1 class1 = new TestClass1();

        if (class1 instanceof ParentInterface) {
            class1.test();
        }
    }
}
